package com.thrd.taiexhibition

import android.util.Log
import android.view.View
import com.thrd.basicframework.bean.BaseFragment

import com.thrd.taiexhibition.fresco.FrescoImage

/**
 * @author: ${唐杰}
 * @date: 2021/3/3
 */
class TextFragment(sasa:Int) : BaseFragment() {
    private  var  sasa:Int = sasa
    //private lateinit var  mTextView:TextView
    private lateinit var  mFrescoImage: FrescoImage


    override fun setLayoutResourceID(): Int {
        return R.layout.layout_tab
    }

    override fun setUpData() {
      //
        //  mTextView.text=" $sasa"
//        FrescoUtils.getInstance().setProgressLoad(mContext
//            ,mFrescoImage
//            ,"https://gimg2.baidu.com/image_search/src=http%3A%2F%2" +
//                    "Fsinastorage.com%2Fdata.ent.sina.com.cn%2Fmovie%2Fstills%" +
//                    "2F1256%2F9424bdd01579b8f5538286347595b288.jpg&refer=http%3" +
//                    "A%2F%2Fsinastorage.com&app=2002&size=f9999,10000&q=a80&n=0" +
//                    "&g=0n&fmt=jpeg?sec=1617877832&t=2e1f8ca1ed43277a69921a67faafec78")
    }

    override fun setUpView(mContentView: View?) {

    }

//    override fun onSaveInstanceState(outState: Bundle) {
//        super.onSaveInstanceState(outState)
//        //outState.putString("a",mEditText.text.toString())
//    }
//
//    override fun onRecoveryBundle(savedInstanceState: Bundle?) {
//        super.onRecoveryBundle(savedInstanceState)
////        val qqq: String? =savedInstanceState?.getString("a")
////        if(!TextUtils.isEmpty(qqq)) mEditText.setText("aaaaa$qqq")
//
//    }

    override fun onDestroy() {
        super.onDestroy()
        Log.e("TextFragment", "onDestroyView")
    }



}